package com.zdtech.action;

import java.util.List;

import javax.annotation.Resource;

import com.opensymphony.xwork2.Action;
import com.opensymphony.xwork2.ActionSupport;
import com.zdtech.entity.VPurviewnav;
import com.zdtech.entity.VPurviewnavId;
import com.zdtech.service.BaseSerive;

public class TestAction extends ActionSupport{
	
	private List<VPurviewnav> li;
	@Resource
	private BaseSerive baseService;
	
	public String execute() throws Exception {
		li = baseService.showNav(null);
		return Action.SUCCESS;
	}

	public List<VPurviewnav> getLi() {
		return li;
	}

	public void setLi(List<VPurviewnav> li) {
		this.li = li;
	}


	
}
